package top.yuyufeng.mbuy.service;

import top.yuyufeng.mbuy.dto.UserDTO;
import top.yuyufeng.mbuy.exception.UserException;

public interface IUserService {

    /**
     * 检查密码
     * @param userDTO
     * @throws UserException
     */
    UserDTO checkPassword(UserDTO userDTO) throws UserException;

    UserDTO getById(int i);
}
